import {createApp} from 'vue'
import App from './App.vue'
import {
    Uploader,
    Picker,
    Button,
    Field,
    CellGroup,
    Form,
    Popup,
    Toast,
    Tabbar,
    TabbarItem,
    NavBar,
    Icon,
    Divider,
    Image as VanImage,
    Cell,
    NoticeBar,
    Grid,
    GridItem,
    Search,
    Checkbox,
    CheckboxGroup,
    TreeSelect,
    Empty,
    SwipeCell,
    Dialog,
    DatePicker,
    RadioGroup,
    Radio,
    Pagination,
    Tag
} from 'vant';
import 'vant/lib/index.css';
import router from './router';
import {createPinia} from "pinia";

const app = createApp(App)

app.use(Button)
app.use(Field)
app.use(CellGroup)
app.use(Form)
app.use(Popup)
app.use(Toast)
app.use(Tabbar)
app.use(TabbarItem)
app.use(NavBar)
app.use(Icon)
app.use(Divider)
app.use(VanImage)
app.use(Cell)
app.use(Picker)
app.use(Uploader)
app.use(NoticeBar)
app.use(Grid)
app.use(GridItem)
app.use(Search)
app.use(Checkbox)
app.use(CheckboxGroup)
app.use(TreeSelect)
app.use(Empty)
app.use(SwipeCell)
app.use(Dialog)
app.use(DatePicker)
app.use(RadioGroup)
app.use(Radio)
app.use(Pagination)
app.use(Tag)

app.use(createPinia())
app.use(router)
app.mount('#app')
